﻿using log4net;
using Quartz;
using Spider.Script;
using Spider.Service;

namespace Spider.task
{
    /// <summary>
    /// 公司公告定时爬取
    /// </summary>
    [DisallowConcurrentExecution]
    public class CompanyNoticeTask : IJob
    {
        
        private static readonly ILog Log = LogManager.GetLogger(typeof(CompanyNoticeTask));
        public void Execute(IJobExecutionContext context)
        {
            Log.Info("begin CompanyNotice spider task");
            CrawlerService.CrawlingCompanyNotice();
            Log.Info("finish CompanyNotice spider task");
        }
    }
}